package Entity;

public class Timetable {
    private int id = 0;
    private String roomid = null;
    private int begweek = 0;
    private int endweek = 0;
    private int day = 0;
    private int section = 0;

    public Timetable(){}
    // ���캯��û�в��� id
    public Timetable(String roomid, int begweek, int endweek, int day, int section) {
        this.roomid = roomid;
        this.begweek = begweek;
        this.endweek = endweek;
        this.day = day;
        this.section = section;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getRoomid() {
        return roomid;
    }

    public void setRoomid(String roomid) {
        this.roomid = roomid;
    }

    public int getBegweek() {
        return begweek;
    }

    public void setBegweek(int begweek) {
        this.begweek = begweek;
    }

    public int getEndweek() {
        return endweek;
    }

    public void setEndweek(int endweek) {
        this.endweek = endweek;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public int getSection() {
        return section;
    }

    public void setSection(int section) {
        this.section = section;
    }
}
